From: Simonas Tamošaitis Date: Thu, 23 Oct 2025 17:25:33 +0000 (+0300) Subject: modemmanager: allow empty initial EPS bearer APN X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=83f3e116b160b0d3b11997ae9b6ff378b49972b9;p=feed%2Fpackages.git modemmanager: allow empty initial EPS bearer APN This commit removes the non-empty APN requirement for initial EPS bearer. An empty APN value is valid and means that the modem will use a network provided APN offered by the operator. Signed-off-by: Simonas Tamošaitis --- diff --git a/net/modemmanager/Makefile b/net/modemmanager/Makefile index 3b3c9aab93..3949e0d277 100644 --- a/net/modemmanager/Makefile +++ b/net/modemmanager/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=modemmanager PKG_VERSION:=1.24.0 -PKG_RELEASE:=7 +PKG_RELEASE:=8 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git diff --git a/net/modemmanager/files/lib/netifd/proto/modemmanager.sh b/net/modemmanager/files/lib/netifd/proto/modemmanager.sh index f3ee7c8b62..4cfc9bcdb6 100644 --- a/net/modemmanager/files/lib/netifd/proto/modemmanager.sh +++ b/net/modemmanager/files/lib/netifd/proto/modemmanager.sh @@ -526,13 +526,6 @@ modemmanager_init_epsbearer() { local connectargs="$3" local apn="$4" - [ "$eps" != 'none' ] && [ -z "${apn}" ] && { - echo "No '$eps' init eps bearer apn configured" - proto_notify_error "${interface}" MM_INIT_EPS_BEARER_APN_NOT_CONFIGURED - proto_block_restart "${interface}" - return 1 - } - if [ "$eps" = "none" ]; then echo "Deleting inital EPS bearer..." else